const app = getApp()
// pages/ordering/components/searchLayer/index.js
Component({
  options: {
    addGlobalClass: true,
    // multipleSlots: true
  },
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    //自定义导航信息
    customNavInfo: app.globalData.customNavInfo,
    customNavRight: app.globalData.customNavInfo.buttonWidth + app.globalData.customNavInfo.buttonRight * 2,
    baseURL: app.globalData.config.baseURL
  },

  /**
   * 组件的方法列表
   */
  methods: {
    goSearchProduct(){
      app.commonNavigateTo('/pages/ordering/searchProduct/index')
    }
  }
})